1 |
On Sunday 22 Jan 2012 17:54:29 Grant wrote: |
2 |
|
3 |
> > `watch` isn't going to help too much unless you're looking at it. Append |
4 |
> > the output to some log file instead. I chose netstat because its output |
5 |
> > looked easier to parse with a stupid regexp. |
6 |
> > |
7 |
> > while true; do |
8 |
> > netstat -antp | grep ':993 ' >> mystery.log; |
9 |
> > sleep 1; |
10 |
> > done; |
11 |
> > |
12 |
> > You'll want to change the port -- I tested to make sure that was really |
13 |
> > logging my Thunderbird connections. |
14 |
> |
15 |
> I'm still getting the blocked outbound requests to port 3680 on my |
16 |
> firewall and I'm running the above script (changed 993 to 3680) on the |
17 |
> local system indicated by SRC in the firewall log, but mystery.log |
18 |
> remains empty. I tested the script with other ports and it seems to |
19 |
> be working fine. |
20 |
> |
21 |
> Also the MAC indicated in the firewall log is 14 blocks long and the |
22 |
> local system in question has a MAC address 6 blocks long according to |
23 |
> ifconfig, but the 6 blocks from ifconfig do match 6 of the blocks |
24 |
> reported by the firewall. |
25 |
> |
26 |
> Does this make sense to anyone? |
27 |
|
28 |
Does not make sense to me, sorry. :-( |
29 |
|
30 |
Have you tried running the script on lsof instead? |
31 |
|
32 |
|
33 |
> I installed and ran rkhunter and this was the only warning I couldn't |
34 |
> disregard: |
35 |
> |
36 |
> Warning: The command '/usr/sbin/rkhunter' has been replaced and is not |
37 |
> a script: /usr/sbin/rkhunter: POSIX shell script, ASCII text |
38 |
> executable, with very long lines |
39 |
|
40 |
This warning comes up the first time after rkhunter runs --update for its .dat |
41 |
files. I don't know why this is so - but I have noticed it happening for the |
42 |
last couple of versions at least. |
43 |
-- |
44 |
Regards, |
45 |
Mick |